
<select name='<?=$_field?>' style='width:80%'>
	<option value = ''> --select-- 
	<?php forEach($DROPDOWN[$_field] as $dropdown){?>
		<?php $selected = "";
			if(isset($_value) && ($dropdown['id'] == $_value))
				$selected = "selected";
		?>
		<option value="<?=$dropdown['id']?>" <?=$selected; ?>> <?=$dropdown['value']?></option>
	<?php }?>
</select>